<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="Referrer" content="origin">
    <link href="chatnew_data/chat.css" rel="stylesheet" type="text/css">
    <!-- <link href="../../chat/chatindex.css?t=2021052001" rel="stylesheet" type="text/css" /> -->
    <link href="chatnew_data/chatindex.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="chatnew_data/360query18.js"></script>
    <script src="chatnew_data/jquery.nicescroll.min.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript" src="chatnew_data/jquery.form.js"></script>
    <script src="docgjio.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript" src="chatnew_data/chatuserlist.js"></script>
    <!--<script type="text/javascript" src="https://cdn.socket.io/socket.io-1.4.5.js"></script>-->
    <script type="text/javascript" src="chatnew_data/socket.io-1.4.5.js"></script>
    <!--<script type="text/javascript" src="http://www.360doc.com/js/socketio.js"></script>-->
    <script type="text/javascript" src="chatnew_data/json2.js"></script>

    <title>对话</title>
</head>

<body style="margin: 0px; padding: 0px; font-family: &quot;微软雅黑&quot;, &quot;宋体&quot;, &quot;黑体&quot;, Arial, Helvetica, sans-serif; position: relative;" class="mage">
    <div id="chatdiv" class="mage"><!-- style="position: absolute; left: 376px; top: 0px; z-index: 20000; cursor: default;" -->
        <div class="big_d" style="width:540px;">
            <div class="shang_d">
                <div id="shangtip" style="height:36px;width:450px;float:left;">   <div class="left biaoti_d" id="currusername"></div>     </div>         <a href="javascript:void(0)" onclick="closechat()" class="right" style="padding:10px;padding-top:12px;padding-right:15px;"><div class="cha_d" style="margin:0px; cursor:pointer;"></div> </a>
            </div>

            <div class="ifrmsgstyle" style="background-color:#ffffff;">
                <div>
                    <div class="liebiao left">
                        <div class="zjlxr" id="leftdiv">
                            <ul id="startdg">
                                <li onclick="ytdh();"><div class="luo2"><img src="chatnew_data/kaishiduihua.gif" class="touxiang left" style="margin-left:10px; margin-top:15px; "><p class="left renming" style="line-height:46px; font-weight:bold;">开始对话</p></div><p class="right chacha" style="display:none;"><img src="chatnew_data/cha-guan.gif" name="closeimg" onmouseover="this.src='http://pubimage.360doc.com/chat/cha_hua.gif'" onmouseout="this.src='http://pubimage.360doc.com/chat/cha-guan.gif'" onclick="closecurrdg(this,0,0,0)"></p></li>
                            </ul>
                            <ul id="userlist" tabindex="0" style="overflow: hidden; outline: none;"></ul>
                        </div>
                        <div class="xialabao"><a href="javascript:void(0)" onclick="getmsghistorylist()" title="查看更多" style="cursor: pointer;display:none;"><img src="chatnew_data/xiala.gif"></a></div>
                    </div>            
                    
                    <div id="curriframe" style="float: right; display: none;">            
                    
                    
                    
                    
                        <div class="big" style="width:410px;min-height:470px;margin-left:0px;margin-top:0px;">
                            <div class="duihua right pic1" style="word-break:break-all;height:309px;">
                                <div class="zhanshi " id="chatlist" style="overflow: auto;position: relative;">
                                </div>
                            </div>

                            <div class="gongneng right">
                                <table style="margin-top:5px; height:18px;" cellspacing="0" cellpadding="0" border="0">
                                    <tbody>
                                        <tr><td style=" width:18px;"></td><td style=" width:35px;"><a href="javascript:void(0)" title="添加表情" onclick="displayface()" id="facelink"><img src="chatnew_data/xiaolian.gif"></a></td><td><a href="javascript:void(0)" title="发送图片"><img src="chatnew_data/tupian.gif" id="ipadimgbtn"></a></td><td style="width:223px;" id="ipadformimg"><form id="form2" enctype="multipart/form-data" style="padding: 0px; margin: 0px;float:left;cursor:pointer;"><div id="upload" class="filt_box1"><input type="file" id="uploadImage" name="uploadImage" style="cursor: pointer; filter: alpha(opacity:0); opacity: 0; width: 18px; height: 18px; margin-left: -18px; *margin-left: -25px; _margin-left: -25px; *top: 317px; _top: 317px; position: relative; *position: absolute; _position: absolute; z-index: 10000;" accept="image/*" title="发送图片"></div></form></td><td style="width:41px;"><a href="javascript:void(0)" title="设置" onclick="displayshortcut()" id="hotkey"><img src="chatnew_data/chilun.gif"></a></td><td style="width:41px;"><a href="javascript:void(0)" title="添加到黑名单" onclick="addblanklist()"><img src="chatnew_data/heimingdan.gif"></a></td><td><a href="javascript:void(0)" title="对话记录" onclick="getmsghistory()"><img src="chatnew_data/lishixiaoxi%20.gif"></a></td></tr>
                                    </tbody>
                                </table>
                            </div>
                            <div class="shuru right"><textarea name="" cols="" rows="" id="content" style="line-height:20px;height:87px;"></textarea></div>
                            <div class="fasong right"> <a id="sendbtn" class="fsan" href="javascript:void(0)" style="width:67px;margin-right:10px;" onclick="sendparent()"></a></div>

                            <div class="kuaijieceng" style="position:absolute;top:377px;left:354px;display:none;" id="shortcutdiv">
                                <ul class="wenzibg" id="shortcutlist">
                                    <a href="javascript:void(0)"><li class="kjian_shang" onclick="selectshortcut(this, 0)" onmouseover="liover(this)" onmouseout="liout(this)">按 Enter 键发送消息</li></a>
                                    <a href="javascript:void(0)"><li class="kjian_xia" onclick="selectshortcut(this,1)" onmouseover="liover(this)" onmouseout="liout(this)">按 Ctrl+Enter 键发送消息</li></a>

                                </ul>
                            </div>
                        </div>

                        <div class="biaoqbox1a" id="facecontentdiv" style="display:none;">

                        </div>
                        <input type="text" value="0" style="display:none;" id="start">
                        <input type="text" value="0" style="display:none;" id="end">
                    
                    
                    
                    
                    
                    
                    
                    
                                  </div>
                    <div id="yutaduihua" style="float: left; padding-left: 10px;">                          </div>
                </div>
            </div>

        </div>
    </div>
    
    
    <script type="text/javascript" src="chatnew_data/chat.js"></script>
    <script type="text/javascript" src="chatnew_data/user.js"></script>
    

    <script type="text/javascript">
        function closechat() {
            
            document.getElementById("startdg").getElementsByTagName("li")[0].click();
            parent.document.getElementById("chatiframe").style.display = "none";
        }
        function openchat() {
            $("#chatdiv").show();
        }
        $(function () {
            $("#userlist").niceScroll({
                //autohidemode: false,
                cursorwidth: "6px",
                cursorborder: "none",
                cursorborderradius: "4px",
                cursorcolor: "#8d8d8d"
            });

        })
        function tip(userid, nickname, roomid) {
            
            if (parent.document.getElementById("chatiframe").style.display == "none") {
                try {
                    if (getCookie("360doc14_" + curruserid) != "0")
                        parent.displaytipdiv(userid, nickname, roomid);
                } catch (errcookie) {
                    parent.displaytipdiv(userid, nickname, roomid);
                }
            }
            else {
                
                parent.closetipdiv();
            }
                //talk_warn
        }
      
       
       
    </script>

   



<div id="ascrail2000" class="nicescroll-rails" style="width: 6px; z-index: auto; cursor: default; position: absolute; top: 0px; left: -6px; height: 0px; display: none;"><div style="position: relative; top: 0px; float: right; width: 6px; height: 0px; background-color: rgb(141, 141, 141); border: medium none; background-clip: padding-box; border-radius: 4px;"></div></div><div id="ascrail2000-hr" class="nicescroll-rails" style="height: 6px; z-index: auto; top: -6px; left: 0px; position: absolute; cursor: default; display: none;"><div style="position: absolute; top: 0px; height: 6px; width: 0px; background-color: rgb(141, 141, 141); border: medium none; background-clip: padding-box; border-radius: 4px;"></div></div></body></html>